﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TpWeb.Domain.BizObj
{
    using System;
    using System.Collections.Generic;

    [Table("Persons")]
    public partial class Person : IEntity<int>
    {
        public int Id { get; set; }
        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
        public string Email { get; set; }
        public System.DateTime BirthDate { get; set; }
        public string NationalityOther { get; set; }
        public string NationalityCode { get; set; }
        public string Phone { get; set; }
        public string Phone2 { get; set; }
        public string DocNum { get; set; }
        public System.DateTime DocDate { get; set; }
        public string DocIssue { get; set; }
        public string DocDepCode { get; set; }
        public byte[] DocScan { get; set; }
        public string SecretQuestion { get; set; }
        public string SecretAnswer { get; set; }

        //public virtual Country Countries { get; set; }

       
    }
}
